@blue: #4976ff;

.gas-page {
  position: absolute;
  top: var(--edger-safe-area-inset-top);
  bottom: var(--edger-safe-area-inset-bottom);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  > h4 {
    margin: 0;
    height: 46px;
    line-height: 46px;
    text-align: center;
    letter-spacing: 4px;
  }
}

.gas {
  flex: 1;
  text-align: center;
  overflow: auto;
  padding: 12px 12px;
  .gas-window {
    margin-bottom: 12px;
    overflow: hidden;
  }
  h5 {
    margin: 0;
    padding: 0 20px;
    height: 30px;
    line-height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f6f6f6;
    font-size: 12px;
    color: #303030;
    > .add-button {
      font-size: 20px;
    }
  }
  .gas-list {
    .gas-list-content {
      .gas-list-item {
        padding: 0 20px;
        height: 68px;
        border-bottom: 1px solid #f6f6f6;
        display: flex;
        justify-content: space-between;
        align-items: center;
        > div {
          display: flex;
          align-items: center;
        }
        .gas-list-item-left {
          img {
            width: 32px;
            overflow: hidden;
            margin-right: 12px;
          }
          div {
            font-size: 14px;
            color: #303030;
          }
        }
        .gas-list-item-right {
          color: @blue;
          font-size: 18px;
          font-weight: bold;
        }
      }
    }
  }
}
.model {
  :global(.van-dialog__header) {
    padding: 16px 0;
    color: #fff;
    background: @blue;
  }
  .model-list {
    height: 160px;
    margin-bottom: 24px;
    overflow: auto;
  }
}

.model-alarm {
  :global(.van-dialog__header) {
    padding: 16px 0;
    color: #fff;
    background: #ee0a24;
  }
  .model-alarm-slider-group {
    margin: 24px 0px;
    .model-alarm-slider {
      padding: 24px;
      &.model-alarm-slider-flex {
        display: flex;
        align-items: center;
        white-space: nowrap;
      }
      .custom-button {
        width: 26px;
        color: #fff;
        font-size: 10px;
        line-height: 18px;
        text-align: center;
        background-color: #ee0a24;
        border-radius: 100px;
      }
    }
  }
}
